//package org.wlgzs.shop.utils.file;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.servlet.ModelAndView;
//
//import javax.servlet.ServletContext;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.File;
//import java.io.FileInputStream;
//import java.io.OutputStream;
//import java.net.URLEncoder;
//
///**
// * @Author: Ben
// * @Date: 2019/5/25 13:27
// * @Project org.wlgzs.shop
// */
//@Controller
//public class FileDownloadController {
//
//    @RequestMapping("/fileDownloadController")
//    public ModelAndView fileDownloadController(HttpServletRequest request,
//                         HttpServletResponse response) {
//        ModelAndView modelAndView=new ModelAndView();
//        modelAndView=FileDownloadUtils.downloadFileService(request,response,modelAndView);
//        modelAndView.setViewName("");
//        return modelAndView;
//    }
//}
